Enumeration
  #Sizing_MinimumSize
  #Sizing_Fixed
  #Sizing_Stretch
  #Sizing_Centre
EndEnumeration

Enumeration
  #Orientation_Horizontal
  #Orientation_Vertical
EndEnumeration

Enumeration 1000
  #PB_GadgetType_Window
  #PB_GadgetType_HBox
  #PB_GadgetType_VBox
  #PB_GadgetType_Spacer
;  #PB_GadgetType_
;  #PB_GadgetType_
;  #PB_GadgetType_
;  #PB_GadgetType_
;  #PB_GadgetType_
EndEnumeration

Structure GadgetLayout
  ID.i
  MinWidth.w
  MinHeight.w
  FlexWidthType.b
  FlexHeightType.b
  ActualX.w
  ActualY.w
  ActualWidth.w
  ActualHeight.w
EndStructure

Structure Control
  Node.i
  ParentNode.i
  
  Type.i
  Name.s
  Text.s
  Sizing.i
EndStructure
; IDE Options = PureBasic 4.40 Beta 6 (Linux - x86)
; CursorPosition = 23
; EnableXP